package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.CrawlSiteFeatureDoc;
import org.jeecg.modules.system.entity.SysIndexTask;

import java.util.List;

/**
 * @Author wt
 * @Date: 2024/10/11 15:00
 * @Description:
 */
public interface IndexTaskMapper extends BaseMapper<SysIndexTask> {

    List<SysIndexTask> pageisIndexTask(Page<SysIndexTask> page, @Param("indexTask") SysIndexTask indexTask);

    public SysIndexTask selectSysIndexTaskId(Long id);

    /**
     * 新增
     */
    public int insertIndexTask(SysIndexTask indexTask);

    public boolean editSysIndexTask(SysIndexTask indexTask);
    /**
     * 删除
     */
    public int deleteWebsite(Long id);

    /**
     * 批量删除
     */
    public int deleteBatchWebsite(Long[] ids);

}
